package agency.web.app.service;

import java.util.List;

import agency.web.app.domain.*;

public interface AgentService extends UserService  {
     
	void addAgent(Agent a);
	void modifyAgent(Agent a);
	List<Agent> findAllAgents();
	Agent findAgentById (int id);
	List<Agent> findAgentByName (String name);
	List<Agent> findAgentByClient (Client client);
	void deleteAgentById(int id);
	void deleteAgent(Agent a);
	boolean isAgent(User u);
	Agent agentRegistration(String login, String password);
	void logoutAgent(int agentId);
}
